package com.antdesignbackend.backend.mapper;

import com.antdesignbackend.backend.entity.RoleMenu;
import com.antdesignbackend.backend.entity.entityVo.RoleMenuVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    List<RoleMenuVo> selectRoleMenuList(@Param(Constants.WRAPPER) QueryWrapper<RoleMenuVo> queryWrapper, Page<RoleMenuVo> page);
}
